	//
//  PPZBarViewController.h
//  PetParadise
//
//  Created by 陈无忌 on 8/22/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZBarSDK.h"
#import "PPPetInfo.h"

@protocol ScanQRCodeDelegate <NSObject>

- (void)scanFinishedWithResult:(NSString *)resultString;

@end

@interface PPZBarViewController : UIViewController<ZBarReaderViewDelegate>
//@property (nonatomic) int type;// 0 pet 1 user
@property (nonatomic, strong) PPPetInfo *pet;


@property (weak, nonatomic) id<ScanQRCodeDelegate> delegate;


@end
